package com.jshan.blog.controller;

import com.jshan.blog.result.Result;
import com.jshan.blog.utils.BigScreenUtil;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/bigScreen")
public class BigScreenController {

    @Resource
    private BigScreenUtil bigScreenUtil;

    @GetMapping("/findDataAll")
    public Result findDataAll(){
        return bigScreenUtil.findDataAll();
    }
}
